//
//  StringPredicate.h
//  oilsFavorable
//
//  Created by 谷峰 on 2017/5/23.
//  Copyright © 2017年 DDSB. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface StringPredicate : NSObject

//判断输入内容是否为空或者空格
+ (BOOL)isBlankString:(NSString *)string;
//手机号正则
+ (BOOL)regResultWithString:(NSString *)string;
//用户名正则
+ (BOOL)checkUserNickName:(NSString *)string;
//企业端登录密码正则
+ (BOOL)chackLoginPassword:(NSString *)password;

//求职端登录密码正则
+ (BOOL)ApplicantLoginPassword:(NSString *)password;


//邮箱账号正则
+ (BOOL)validateEmail:(NSString *)email;
//提示 标签不能输入特殊字符
+ (BOOL)JudgeTheillegalCharacter:(NSString *)content;
//提示 标签不能输入大于40位
+ (BOOL)JudgeStringLengthIsbiger:(NSString*)strtemp;
//判断是不是纯数字
+ (BOOL)isPureFloat:(NSString *)string;
/*
 *  判断输入的车牌号格式是否正确
 */
+ (BOOL)isValidCarID:(NSString *)carID;
//判断当前的网络
+ (NSString *)networkingStatesFromStatebar;
//汉字转大写字母
+ (NSString*)hanziToPinYin:(NSString*)str;
@end
